package custom.cards;

import java.util.ArrayList;
import java.util.List;
import android.content.Context;
import android.widget.TextView;
public class CommunityPlayer extends Player {
	List<Card> communityCards = new ArrayList<Card>();

	public CommunityPlayer(TextView _name, Context context) 
	{
		super(_name, "Community Deck", "DECK", context);
	}

	public CommunityPlayer(Context context) 
	{
		super("Community Deck", "DECK", context);
	}

	@Override
	public void AddCard(Card theCard)
	{
		super.AddCard(theCard);
		communityCards.add(theCard);
	}
	
	public void RemoveCard(Card theCard)
	{
		if(communityCards.contains(theCard))
			communityCards.remove(theCard);
	}

}
